package com.sixth.volunteerservicesystem.Service;

import com.sixth.volunteerservicesystem.domain.Admins;
import com.sixth.volunteerservicesystem.domain.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LoginService {
    public List<Users> getlogin(String userId, String password);
    public List<Admins> getloginadmin(String adminId, String password);
    public List<Users> getuserbynickname(String nickname);
    public List<Users> getuserbyid(String userid);
    public void insertuser(Users users);
}
